/**
 * Person.java
 *
 * @author Kaufmann Daniel
 *
 * 15.04.2011
 *
 */

package at.fhv.easyDietWeb.shared.db.masterData;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * information:
 * represents the table Person on the database
 */
public class Person implements IsSerializable
{
	private int _personId;
	private String _firstName;
	private String _lastName;
	private String _title;
	private String _mailAddress;
	private String _phoneNumber;
	private String _faxNumber;
	private Address _address;
	private User _user;
	private Country _nationality;

	private void setPersonId(int personId)
	{
		_personId = personId;
	}

	public int getPersonId()
	{
		return _personId;
	}

	public void setFirstName(String firstName)
	{
		_firstName = firstName;
	}

	public String getFirstName()
	{
		return _firstName;
	}

	public void setLastName(String lastName)
	{
		_lastName = lastName;
	}

	public String getLastName()
	{
		return _lastName;
	}

	public void setTitle(String title)
	{
		_title = title;
	}

	public String getTitle()
	{
		return _title;
	}

	public void setMailAddress(String mailAddress)
	{
		_mailAddress = mailAddress;
	}

	public String getMailAddress()
	{
		return _mailAddress;
	}

	public void setPhoneNumber(String phoneNumber)
	{
		_phoneNumber = phoneNumber;
	}

	public String getPhoneNumber()
	{
		return _phoneNumber;
	}

	public void setFaxNumber(String faxNumber)
	{
		_faxNumber = faxNumber;
	}

	public String getFaxNumber()
	{
		return _faxNumber;
	}

	public void setUser(User user)
	{
		_user = user;
	}

	public User getUser()
	{
		return _user;
	}

	public void setAddress(Address address)
	{
		_address = address;
	}

	public Address getAddress()
	{
		return _address;
	}

	public void setNationality(Country nationality)
	{
		_nationality = nationality;
	}

	public Country getNationality()
	{
		return _nationality;
	}
}
